package io.renren.modules.factory.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author steakliu
 * @email 2319492349@qq.com
 * @date 2021-03-19 23:32:58
 */
@Data
@TableName("t_factory_purchase")
public class TFactoryPurchaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	private Long sellerId;
	/**
	 * 供应商
	 */
	private Long supplierId;
	@TableField(exist = false)
	private String supplierName;
	/**
	 * 采购编号
	 */
	private String purchaseNo;
	/**
	 * 仓库
	 */
	private Long warehouseId;

	private Double totalMoney;
	/**
	 * 入库原料集合
	 */
	private String inFactoryRawMeterialList;
	/**
	 * 退货原料集合
	 */
	private String outFactoryRawMeterialList;
	/**
	 * 实付金额
	 */
	private Double reallyPayMoney;
	/**
	 * 支付方式
	 */
	private String payMthod;
	/**
	 * 制单人
	 */
	private String createUserName;
	/**
	 * 时间
	 */
	private Date createTime;

	private Integer status;
	/**
	 * 其他费用
	 */
	private Double otherConst;
	/**
	 * 备注
	 */
	private String remark;

}
